<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ipb" uri="/WEB-INF/conf/tld/ipb.tld"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
	String path = request.getContextPath();
%>
<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/newstyle.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/common.css" rel="stylesheet" type="text/css" />

<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="38">　　<span class="subTitleWhite">积分规则</span></td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="<%=path%>/images/new/page-gray.gif" width="780" height="15" /></td>
  </tr>
</table>

<table width="780" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#DDDFDE">
  <tr>
    <td bgcolor="#FFFFFF"><br />
      <table width="710" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#f9e277" style="margin:10px 0;">
      <tr>
        <td bgcolor="#fffdf5"><table width="100%" border="0" cellpadding="0" cellspacing="5">
            <tr>
              <td width="4%" valign="top"><img src="<%=path%>/images/new/page-gray-18.gif" width="29" height="24" border="0" align="absmiddle" /></td>
              <td width="96%" class="font_gray"><span class="org">积分激活</span>--为防止恶意积分行为,用户注册后必须激活积分,激活方式为与<span class="redColor12px">银行卡</span>、<span class="redColor12px">身份证</span>(上传或发传真)、<span class="redColor12px">手机</span>绑定。</td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="left" bgcolor="#FFFFFF" class="font_blue"><span class="title">　积分规则：</span> <br />
      <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tableLine">
        <tr>
          <td height="36" align="center"  class="tableTitleBg">积分来源</td>
          <td align="center"  class="tableTitleBg">类型</td>
          <td align="center"  class="tableTitleBg">用户等级</td>
          <td align="center"  class="tableTitleBg">积分点数</td>
          <td align="center"  class="tableTitleBg">规则和说明</td>
        </tr>
    <logic:notEmpty name="usingScores">
      <logic:iterate id="scoresRule" name="usingScores" indexId="ind">
        <tr <%if(ind.intValue()  % 2 == 0) { %>class="tableWhiteBg"<%}else{%>class="tableBlueBg"<%}%>>
          <td height="28" align="center"><bean:write name="scoresRule" property="scoresSource.name"/></td>
          <td align="center"><ad:TypeChange typeId="SCORES_PRIORITY"><bean:write name="scoresRule" property="priority" /></ad:TypeChange></td>
          <td align="center">
            <logic:notEmpty name="scoresRule" property="groups">
              <bean:write name="scoresRule" property="groups.name" />
            </logic:notEmpty> 
          </td>
          <td align="center">
            <logic:greaterThan name="scoresRule" property="moneyAmount" value="0">
              <bean:write name="scoresRule" property="moneyAmount" format="####.##" />元人民币=
            </logic:greaterThan>
            <bean:write name="scoresRule" property="scoresAmount" format="####.##" />积分
          </td>
          <td align="center"><bean:write name="scoresRule" property="remark"/> </td>
        </tr>
      </logic:iterate>
    </logic:notEmpty>
      </table>
    </td>
  </tr>
  <tr>
    <td bgcolor="#F8F8F8" class="font_blue"><img src="<%=path%>/images/icon_note.gif" width="16" height="14" align="absmiddle" /> <span class="redColor12px">白金贵宾用户根据合约具体规定。</span></td>
  </tr>
  <tr>
    <td bgcolor="#F8F8F8" class="font_blue"><img src="<%=path%>/images/icon_note.gif" width="16" height="14" align="absmiddle" /> <span class="redColor12px">在推广期(2007.1.1~2007.12.31)内积分不可转让(暂行)。</span></td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="41" align="right" background="<%=path%>/images/page-gray.gif">
      <input type="button" name="return" value="返 回" class="buttonStyle-short" onclick="loading('<%=path%>/route.do?modual=space$scores');" />
      &nbsp;&nbsp;&nbsp;&nbsp;
    </td>
  </tr>
</table>